#ifndef SPRITE_H
#define SPRITE_H

#include "EngineApi.h"
#include "Entity2D.h"
#include <string>
#include "D3DVertex.h"
#include "Graphics.h"
#include "Animation.h"

class ENGINE_API Sprite : Entity2D
{
	Texture* texture;
	D3DVertexUV* vertices; 
	float u, v;
	 
	Animation* animation;
	//ID3DXSprite* spriteMgr;

public:
	 Sprite();
	 void Draw(Graphics &g);
	 void Init(Graphics &g);
};
#endif//SPRITE_H 